import React from 'react';
import { connect } from 'react-redux';
import PriceConfigBill from '../components/Home/communication/PriceConfigBill';

class PriceConfigBillContainer extends React.Component {
  render() {
    return (
      <PriceConfigBill {...this.props} />
    );
  }
}

export default connect((state) => {
  const {
    carInfo,
    dealerInfo,
    name, // 修改价格单信息
    phone,
    sex,
    address,
    counselor,
  } = state.CommunicateReducer;
  return {
    carInfo,
    dealerInfo,
    name, // 修改价格单信息
    phone,
    sex,
    address,
    counselor,
  };
})(PriceConfigBillContainer);
